package org.openscheduler.common.util;

import java.io.IOException;
import java.io.StringReader;
import java.util.Properties;

public class PropertiesUtils {

	public static Properties fromText(String props) {
		StringReader reader = null;
		try {
			Properties properties = new Properties();
			reader = new StringReader(props);
			properties.load(reader);
			return properties;
		} catch (IOException e) {
			throw new RuntimeException(e);
		}
	}
	
}
